import requests
from flask import Flask

# initializing a variable of Flask
app = Flask(__name__)


# decorating index function with the app.route
@app.route('/')
def index():
    return "WELCOME!!! This is the home page"


@app.route("/gettoken")
def loggin(userid):
    url = ""
    data = ""
    token = requests.get(url=url, data=data)
    return token


if __name__ == "__main__":
    app.run()
